<?php echo $head ?>
<div class="right-content">
    <div class="clearfix">
        <div class="we7-padding-bottom clearfix">
            <div class="pull-right">
                <a href="/admin/jurisdiction/add" class="btn btn-primary">添加操作员</a>
            </div>
        </div>
        <table class="table we7-table table-hover">
            <thead class="navbar-inner">
            <tr>
                <th class="text-center" style="width:100px;">操作员名称</th>
                <th class="text-center" style="width:150px">权限信息</th>
                <th class="text-right" style="width:100px;">操作</th>
            </tr>
            </thead>
            <tbody>
            <?php
            foreach ($admin_user as $k => $v) { ?>
                <tr>
                    <td class="text-center" style="width:50px;"><?php echo $v['username']?></td>
                    <td class="text-center">
                        <?php
                        foreach ($v['Jurisdiction_1'] as $key => $val) {?>
                            <span class="label label-primary"><?php echo $val['name']?></span>
                        <?php } ?>
                    </td>
                    <td style="width:100px;">
                        <div class="link-group">
                            <a href="/admin/jurisdiction/save?id=<?php echo $v['id']?>">编辑</a>
                        </div>
                    </td>
                </tr>
            <?php } ?>
            <span class="label label-primary">储值订单</span>
            </tbody>
        </table>
    </div>
</div>